import request from '../util/request.js'
const baseUrl = "article/"

export function getArticleList(data) {
	return request.get(baseUrl + "list", data, {
		noAuth: true
	})
}

export function detail(data) {
	return request.get(baseUrl + "detail", data, {
		noAuth: false
	})
}

export function getSubArticleList(data) {
	return request.get(baseUrl + "sub/list", data, {
		noAuth: true
	})
}
